<ion-view view-title="购物车">
	<ion-nav-buttons side="right">
		<a ng-href="#/search" class="button button-clear icon-left ion-ios-search"></a>
	</ion-nav-buttons>
 	<ion-content class="has-footer">
		<ion-list>
			<ion-item class="item-divier item-stable">购买商品</ion-item>
			<ion-item class="item-thumbnail-left" ng-repeat="item in cart" href="#">
				<img class="full-image" ng-src="{{item.product.thumbnail}}" >
	          	<h2>{{item.product.pname}}</h2>
	          	<p>{{item.product.standard}}</p>
	        	<span style="font-size:20px;font-weight: bold;color:darkorange">{{item.product.shop_price}}元</span>
	        	<div>
	        		<a class="button button-small" ng-click="decrement($index)">-</a>
	        		<span>{{item.quantity}}</span>
	        		<a class="button button-small" ng-click="increment($index)">+</a>
				</div>
			</ion-item>
		</ion-list>
 	</ion-content>
 	<ion-footer-bar class="bar-subfooter">
		合计：<span style="font-size:20px;font-weight: bold;color:darkorange">{{total}}元</span>
    	<a ng-click="submitOrder()" class="button button-balanced button-large" style="float:right">立刻结算</a>
 	</ion-footer-bar>
</ion-view>